package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.TransportDepartmentDTO;
import com.hunttown.mes.rpc.domain.query.TransportDepartmentDTOQuery;

/**
 * created by wangjunfu on 2019-04-28 16:29:00
 */
public interface TransportDepartmentRpcService {

    TransportDepartmentDTO insert(TransportDepartmentDTO transportDepartmentDTO);

    Boolean updateInfoById(TransportDepartmentDTO transportDepartmentDTO);

    Boolean updateInfoByQuery(TransportDepartmentDTOQuery transportDepartmentDTOQuery);

    TransportDepartmentDTO selectById(Integer id);

    TransportDepartmentDTO selectObjByQuery(TransportDepartmentDTOQuery transportDepartmentDTOQuery);

    Page<TransportDepartmentDTO> getListForPage(TransportDepartmentDTOQuery transportDepartmentDTOQuery);

    Boolean deleteById(Integer id);
}